<!--#include("_header.html")-->
<!--%import("js/shopxe.admin.js")-->
<!--%import("filter/insert_shop.xml")-->

<form action="./" method="get" onsubmit="return procFilter(this, insert_shop)">
<input type="hidden" name="module_srl" value="{$module_info->module_srl}" />
	<h4 class="xeAdmin">모듈설정</h4>
    <table cellspacing="0" class="rowTable">
    <tr>
        <th scope="row"><div>{$lang->mid}</div></th>
        <td class="wide">
            <input type="text" name="mid" value="{$module_info->mid}" class="inputTypeText w200" />
            <p>{$lang->about_mid}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->module_category}</div></th>
        <td class="wide">
            <select name="module_category_srl">
                <option value="0">{$lang->notuse}</option>
                <!--@foreach($module_category as $key => $val)-->
                <!--@if($module_info->module_category_srl==$key)-->selected="selected"<!--@end-->>{$val->title}<option value="{$key}" <!--@if($module_info->module_category_srl==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_module_category}</p>
        </td>
    </tr>

    <tr>
        <th scope="row"><div>{$lang->browser_title}</div></th>
        <td class="wide">
            <input type="text" name="browser_title" value="{htmlspecialchars($module_info->browser_title)}"  class="inputTypeText w400" id="browser_title"/>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','browser_title')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->about_browser_title}</p>
        </td>
    </tr>
	</table>

	<h4 class="xeAdmin">레이아웃 및 디자인 설정</h4>
    <table cellspacing="0" class="rowTable">
    <tr>
        <th scope="row"><div>{$lang->layout}</div></th>
        <td class="wide">
            <select name="layout_srl">
            <option value="0">{$lang->notuse}</option>
            <!--@foreach($layout_list as $key => $val)-->
            <option value="{$val->layout_srl}" <!--@if($module_info->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
            <!--@end-->
            </select>
            <p>{$lang->about_layout}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->skin}</div></th>
        <td class="wide">
            <select name="skin">
                <!--@foreach($skin_list as $key=>$val)-->
                <option value="{$key}" <!--@if($module_info->skin==$key ||(!$module_info->skin && $key=='xe_board'))-->selected="selected"<!--@end-->>{$val->title}</option>
                <!--@end-->
            </select>
            <p>{$lang->about_skin}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->header_text}</div></th>
        <td class="wide">
            <textarea name="header_text" class="inputTypeTextArea fullWidth" id="header_text">{htmlspecialchars($module_info->header_text)}</textarea>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','header_text')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->about_header_text}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->footer_text}</div></th>
        <td class="wide">
            <textarea name="footer_text" class="inputTypeTextArea fullWidth" id="footer_text">{htmlspecialchars($module_info->footer_text)}</textarea>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','footer_text')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->about_footer_text}</p>
        </td>
    </tr>
	</table>

	<h4 class="xeAdmin">결제설정</h4>
    <table cellspacing="0" class="rowTable">
	<!--@if($is_product)-->
    <!--@end-->
	<!--@if($is_payment)-->
    <tr>
        <th scope="row"><div>{$lang->payment_modlue}</div></th>
        <td colspan="3">
            <select name="shopxe_payment">
				<option value="">{$lang->shopxe_pg_noselect}</option>
                <!--@foreach($payment_list as $key => $val)-->
                <option value="{$val->getMid()}" <!--@if($module_info->shopxe_payment==$val->getMid())-->selected="selected"<!--@end-->>{$val->getMid()} ({$val->get('payment_desc')})</option>
                <!--@end-->
            </select>
          <p>{$lang->about_payment_connector}</p>
        </td>
    </tr>
    <tr class="row2">
        <th scope="row"><div>{$lang->selected_payment}</div></th>
        <td colspan="3">
            <input type="checkbox" name="shopxe_payment_method" value="XX" <!--@if(strpos($module_info->shopxe_payment_method, 'XX') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_xx}
            <input type="checkbox" name="shopxe_payment_method" value="CD" <!--@if(strpos($module_info->shopxe_payment_method, 'CD') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_cd}
            <input type="checkbox" name="shopxe_payment_method" value="AB" <!--@if(strpos($module_info->shopxe_payment_method, 'AB') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_ab}
            <input type="checkbox" name="shopxe_payment_method" value="BK" <!--@if(strpos($module_info->shopxe_payment_method, 'BK') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_bk}
            <input type="checkbox" name="shopxe_payment_method" value="HP" <!--@if(strpos($module_info->shopxe_payment_method, 'HP') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_hp}
            <input type="checkbox" name="shopxe_payment_method" value="7A" <!--@if(strpos($module_info->shopxe_payment_method, '7A') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_7a}
            <input type="checkbox" name="shopxe_payment_method" value="OC" <!--@if(strpos($module_info->shopxe_payment_method, 'OC') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_oc}
            <input type="checkbox" name="shopxe_payment_method" value="CM" <!--@if(strpos($module_info->shopxe_payment_method, 'CM') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_cm}
	        <input type="checkbox" name="shopxe_payment_method" value="GM" <!--@if(strpos($module_info->shopxe_payment_method, 'GM') > -1)-->checked="checked"<!--@end--> /> {$lang->shopxe_pg_gm}
        </td>
    </tr>
    <!--@end-->

    <tr>
        <th scope="row"><div>{$lang->banking}</div></th>
        <td class="wide">
            <textarea name="banking_text" class="inputTypeTextArea fullWidth" id="banking_text">{htmlspecialchars($module_info->banking_text)}</textarea>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','banking_text')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->banking_info}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->point_use}</div></th>
        <td class="wide">

			<div><label><input type="checkbox" name="point_use" value="Y" <!--@if($module_info->point_use)-->checked="checked"<!--@end--> /> 사용</label></div>

        	<input type="text" name="point_min_use" value="{htmlspecialchars($module_info->point_min_use)}"  class="inputTypeText w200" id="point_min_use"/> {$lang->point_unit}
            <p>{$lang->point_use_info}</p>
        </td>
    </tr>
	</table>

	<h4 class="xeAdmin">배송비설정</h4>
    <table cellspacing="0" class="rowTable">
    <tr>
        <th scope="row"><div>{$lang->delivery_price}</div></th>
        <td class="wide">
        	<input type="text" name="transmit" value="{htmlspecialchars($module_info->transmit)}"  class="inputTypeText w200" id="transmit"/> {$lang->money_unit}
            <p>{$lang->delivery_price_info}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->delivery_free}</div></th>
        <td class="wide">

			<div><label><input type="checkbox" name="transmit_free_use" value="Y" <!--@if($module_info->transmit_free_use)-->checked="checked"<!--@end--> /> 사용</label></div>

        	<input type="text" name="transmit_free" value="{htmlspecialchars($module_info->transmit_free)}"  class="inputTypeText w200" id="transmit"/> {$lang->money_unit}
            <p>{$lang->delivery_free_info}</p>
        </td>
    </tr>
	</table>

	<h4 class="xeAdmin">연동설정</h4>
    <table cellspacing="0" class="rowTable">
    <tr>
        <th scope="row"><div>{$lang->join_form}</div></th>
        <td class="wide">
			<div>
			{$lang->join_phone}
            <input type="text" id="phone_fieldname" name="phone_fieldname" value="{$module_info->phone_fieldname}" class="inputTypeText w200" />
			</div>
			<div>
			{$lang->join_cellular}
            <input type="text" id="cellular_fieldname" name="cellular_fieldname" value="{$module_info->cellular_fieldname}" class="inputTypeText w200" />
			</div>
			<div>
			{$lang->join_addr}
            <input type="text" id="addr_fieldname" name="addr_fieldname" value="{$module_info->addr_fieldname}" class="inputTypeText w200" />
			</div>
	        <p><a href="{getUrl('act','dispMemberAdminJoinFormList')}">{$lang->fieldname_info}</a></p>
        </td>
    </tr>
	</table>

	<h4 class="xeAdmin">기타설정</h4>
    <table cellspacing="0" class="rowTable">
	<tr>
        <th scope="row"><div>{$lang->exchange}</div></th>
        <td class="wide">
            <textarea name="exchange_text" class="inputTypeTextArea fullWidth" id="exchange_text">{htmlspecialchars($module_info->exchange_text)}</textarea>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','exchange_text')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->exchange_info}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->attention}</div></th>
        <td class="wide">
            <textarea name="attention_text" class="inputTypeTextArea fullWidth" id="attention_text">{htmlspecialchars($module_info->attention_text)}</textarea>
            <a href="{getUrl('','module','module','act','dispModuleAdminLangcode','target','attention_text')}" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span>{$lang->cmd_find_langcode}</span></a>
            <p>{$lang->attention_info}</p>
        </td>
    </tr>
    <tr>
        <th scope="row"><div>{$lang->description}</div></th>
        <td class="wide">
            <textarea name="description" class="inputTypeTextArea fullWidth">{htmlspecialchars($module_info->description)}</textarea>
            <p>{$lang->about_description}</p>
        </td>
    </tr>
    <tr>
        <th colspan="2" class="button">
            <span class="button black strong"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
            <span class="button"><input type="button" value="{$lang->cmd_back}" onclick="history.back(); return false;" /></span>
        </th>
	</tr>
    </table>
</form>

<!--#include("./_footer.html")-->